package zy1208.zy1;

import java.lang.reflect.Constructor;

public class demo {
    public static void main(String[] args) throws Exception {
        Class<?> aClass = Class.forName("zy1208.zy1.Person");
        Constructor<?> c = aClass.getDeclaredConstructor();
        c.setAccessible(true);
        Object o = c.newInstance();

    }
}
